Skip to content

Update startupProbe to use HTTP health endpoint, retain legacy option.#2171

Merged
MirahImage merged 1 commit into
mainfrom
startup-probe
Jun 19, 2026
Merged

Update startupProbe to use HTTP health endpoint, retain legacy option.#2171
MirahImage merged 1 commit into
mainfrom
startup-probe

Conversation

@MirahImage

@MirahImage MirahImage commented Jun 18, 2026

Copy link
Copy Markdown
Member

By default the operator now uses the HTTP API health endpoint /api/health/checks/reached-target-cluster-size, available in RabbitMQ 4.2.4+ and Tanzu Backports.

For clusters running old RabbitMQ versions, a legacy health check can be configured by setting the annotation "rabbitmq.com/legacy-startup-probe" = "true" on the RabbitmqCluster object.

Add an environment variable to allow CR annotations to be set during system tests to ensure the legacy startup probe can be selected when running system tests against legacy versions.

[ai-assisted=yes]

This closes #2168

@MirahImage MirahImage requested review from Zerpet and mkuratczyk June 18, 2026 13:26
@MirahImage MirahImage force-pushed the startup-probe branch 3 times, most recently from 040c83a to 6127746 Compare June 18, 2026 15:49
By default the operator now uses the HTTP API health endpoint
/api/health/checks/reached-target-cluster-size, available in RabbitMQ
4.2.4+ and Tanzu Backports.

For clusters running old RabbitMQ versions, a legacy health check can be
configured by setting the annotation "rabbitmq.com/legacy-startup-probe" =
"true" on the RabbitmqCluster object.

Add an environment variable to allow CR annotations to be set during system
tests to ensure the legacy startup probe can be selected when running
system tests against legacy versions.

[ai-assisted=yes]
@MirahImage MirahImage merged commit 64f7b23 into main Jun 19, 2026
41 checks passed
@MirahImage MirahImage deleted the startup-probe branch June 19, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for hardened RabbitMQ image

2 participants